==Touhou Input Display==

A tiny tiny clever tool that reads the memory of Touhou games and gives a display of the game's inputs.
Auto-detects the running game based on its executable name.
Because it reads the game's memory, you can display the inputs of replays. It also isn't dependent on a specific key mapping or button config, or what input device you use at all. How fancy.

Currently supported games range from th06 to th16.


Instructions:
- Launch Touhou game, run thinput.


Configuration:

[Window]
- KeyUpImg: Path to the image used for the keys not pushed. Relative to the working directory.
- KeyDownImg: Path to the image used for the keys pushed down. Relative to the working directory.
- BGColor: Color value for the background. Just use hex color values (e.g. FFFFFF).

[Buttons]
- key = left, top, width, height
- `left` and `top` are x,y coordinates of where to position the key image; `width` and `height` specify the key image size (which can be resized). Window expands to fit.
- You can change these positions if you want a different button layout.
- To "remove" a button from view, just put it at some negative coordinates.

[AddressList]
- Each line lists a game's executable name, the address of its input bit vector, and the map of buttons to the corresponding bit flags.
- You can add or remove as many entries as you want, just make sure it works.
- Valid addresses start with 0x followed by 6~8 hex digits.
- The button map is 8 numbers, each one corresponding to a button. In order they represent Shot, Bomb, Slow, Up, Down, Left, Right, Skip.
    The number represents which bit flag in the vector that button activates. Look at the config file for examples.
- Using this config allows us to add new executable names (e.g. th11boss.exe) and to offer forward-compatibility for new games.


Known Bugs:
- None at the moment!


Version History:

2018-05-03  v2.0.0+th16
- Added manual config of input bit vector per game
- Added individual key size config
- Stopped images being read from disk on each keypress
- Removed ReadProcessMemory message on game close

2017-08-31  v1.3.0+th16
- Added th16 support

2015-12-08  v1.2.0+th15
- Added th15 support

2015-02-23  v1.1.0+th143
- Added support for th06, th07, th095, th125, th143, alcostg

2013-12-12  v1.0.0
- First release


thinput and icon by Drake (@drakeirving)
